package com.pojo.mapper;

import com.pojo.Entity.Roles;
import com.pojo.dto.ToRoles;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RolesMapper {
    public Integer insert(Roles roles);
    public Roles   findByrID(Integer rID);
    public Integer update(Roles roles);
    public Integer delete(Integer rID);
    public List<ToRoles> findlRoles(Integer Page,Integer Number,Integer uType);
    public List<ToRoles> findnolRoles(Integer Page,Integer Number);
}
